/*
 * AdminTipoDestinoSource.java
 *
 * Created on August 13, 2007, 6:25 PM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package com.computec.admintipodestinocliente.source;

import java.util.ResourceBundle;

/**
 *
 * @author FSanchez
 */
public class AdminTipoDestinoSource {
    protected static AdminTipoDestinoSource adminTipoDestinoSource;
    
    private static ResourceBundle adminTipoDestinoSetup;
    private static ResourceBundle adminTipoDestinoErrorSetup; 
    
    /**
     * Creates a new instance of AdminTipoDestinoSource 
     */
    public AdminTipoDestinoSource() {
	adminTipoDestinoSetup = ResourceBundle.getBundle("AdminTipoDestinoSetup");
        adminTipoDestinoErrorSetup = ResourceBundle.getBundle("AdminTipoDestinoErrorSetup");        
    }
    
     public static AdminTipoDestinoSource getInstance() {
        if (adminTipoDestinoSource == null) {
            adminTipoDestinoSource = new AdminTipoDestinoSource();
        }
        return adminTipoDestinoSource;
    }
     
     public String getAdminTipoDestinoSetupKey(String key) {
        return adminTipoDestinoSetup.getString(key); 
    }
   
    public String getAdminTipoDestinoErrorSetupKey(String key) {
        return adminTipoDestinoErrorSetup.getString(key); 
    }    
}
